/*
 * @Author: yangzonglong
 * @Date: 2021-03-03 14:44:59
 * @version: v1.0.0
 * @Descripttion: Input 控制器
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-07-23 15:32:12
 * @Auditor:
 */
import React from 'react';
import AdjustItemController from '../components/AdjustItemController';
import useControlOptions from '../../hooks/useControlOptions';
import { AdjustItemProps } from './AdjustSpacing';
const Controller = () => {
  const { options, changeFormItemProps } = useControlOptions<AdjustItemProps>('inputProps');

  return <AdjustItemController onChange={changeFormItemProps} options={options?.formItemProps} />;
};

export default Controller;
